#[[
This source file is part of the Swift Collections Open Source Project

Copyright (c) 2022 - 2024 Apple Inc. and the Swift project authors
Licensed under Apache License v2.0 with Runtime Library Exception

See https://swift.org/LICENSE.txt for license information
#]]

if(COLLECTIONS_SINGLE_MODULE)
  set(module_name ${COLLECTIONS_MODULE_NAME})
else()
  set(module_name InternalCollectionsUtilities)
  add_library(InternalCollectionsUtilities
    ${COLLECTIONS_UTILITIES_SOURCES})
  set_target_properties(InternalCollectionsUtilities PROPERTIES
    INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})

  _install_target(InternalCollectionsUtilities)
  set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS InternalCollectionsUtilities)
endif()

target_sources(${module_name} PRIVATE
  "autogenerated/Debugging.swift"
  "autogenerated/Descriptions.swift"
  "autogenerated/RandomAccessCollection+Offsets.swift"
  "autogenerated/Specialize.swift"
  "autogenerated/UnsafeBufferPointer+Extras.swift"
  "autogenerated/UnsafeMutableBufferPointer+Extras.swift"
  "Compatibility/autogenerated/UnsafeMutableBufferPointer+SE-0370.swift"
  "Compatibility/autogenerated/UnsafeMutablePointer+SE-0370.swift"
  "Compatibility/autogenerated/UnsafeRawPointer extensions.swift"
  "IntegerTricks/autogenerated/FixedWidthInteger+roundUpToPowerOfTwo.swift"
  "IntegerTricks/autogenerated/Integer rank.swift"
  "IntegerTricks/autogenerated/UInt+first and last set bit.swift"
  "IntegerTricks/autogenerated/UInt+reversed.swift"
  "UnsafeBitSet/autogenerated/_UnsafeBitSet+Index.swift"
  "UnsafeBitSet/autogenerated/_UnsafeBitSet+_Word.swift"
  "UnsafeBitSet/autogenerated/_UnsafeBitSet.swift"
  "_SortedCollection.swift"
  "_UniqueCollection.swift"
  )
